TCPSocket.SendProgress Event

Occurs when your network provider queues your data in 'chunks' and is about to send the next chunk. The parameters indicate the amount of progress that has been made during the send.

Syntax

SendProgress ( BytesSent, BytesLeft )

Parameters

BytesSent

Integer

BytesLeft

Integer


Returns a Boolean. Returning True from this event causes the send to be aborted. This does not close the TCPSocket's connection; it only clears the buffer. After all of the data has been transferred you will get a final SendProgress event followed by a SendComplete event.